<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	 protected function _initDoctype()
    {
		$this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('XHTML1_TRANSITIONAL');
    }
	
	 protected function _initAutoload()
    {
        $autoloader = new Zend_Application_Module_Autoloader(array(
            'namespace' => '',
            'basePath'  => dirname(__FILE__),
        ));
		 // autoload manager classes
        //$autoloader->addResourceType('manager', 'managers', 'Manager');
        // autoload abstract classes
        $autoloader->addResourceType('abstract', 'abstracts', 'Abstract');
        // autoload api classes
        $autoloader->addResourceType('api', 'api', 'Api');
		
        return $autoloader;
    }

}

